package statement;

import util.Method;
import util.Result;
import util.Scope;
import exception.NoMoreStepsException;
import exception.StatementExecutionException;
import expression.Expression;

public class ReturnStatement implements Statement {
	private Result result;
	private Method method;
	private Expression expression;
	private Scope scope;

	public ReturnStatement(Scope scope, Method method, Expression expression) {
		super();
		this.method = method;
		this.expression = expression;
		this.scope = scope;
	}

	@Override
	public void execute() throws StatementExecutionException, NoMoreStepsException {
		// TODO Auto-generated method stub

	}

	@Override
	public void nextStep() throws StatementExecutionException, NoMoreStepsException {
		// TODO Auto-generated method stub
		
	}
	
	public String toString() {
		return "ReturnStatement: [ result: " + this.result + ", expression: " + this.expression + "]";
	}

	@Override
	public void reset() {
		// TODO Auto-generated method stub
		
	}
}
